AR = ar rcs

ifeq ($(shell uname), Linux)
    CXX = g++
    CXXFLAGS = -O3 -fopenmp -DOPENMP -march=native
    BLAS = -lopenblas
endif

ifeq ($(shell uname), Darwin)
    CXX = clang++
    CXXFLAGS = -O3 -stdlib=libc++ -std=c++11
    BLAS = -framework Accelerate
endif

export OPENBLAS_NUM_THREADS=1
#BOOST = /Users/houhaijie/opt/boost_1_84_0
#MXPATH = ../../Matrix_ADAE
